import { httpTokenRequest } from '../utils/http.js';

// 获取筛选分类列表
export function getScreenList(params) {
	return httpTokenRequest({
		url: '/api/Issue/getCateList',
		method: 'POST',
		params: params
	});
}

//获取问题库主列表
export function getIssueList(params) {
	return httpTokenRequest({
		url: '/api/Issue/new_getList',
		method: 'POST',
		params: params
	});
}

//获取税收数据列表
export function getPolicyDataList(params) {
	return httpTokenRequest({
		url: '/api/Policy/getList',
		method: 'POST',
		params: params
	});
}


//获取问题库秒懂财税列表
export function getCollegeList(params) {
	return httpTokenRequest({
		url: '/api/College/getCollegeList',
		method: 'POST',
		params: params
	});
}


//获取分类
export function searchList(params) {
	return httpTokenRequest({
		url: '/api/Index/searchlist',
		method: 'POST',
		params: params
	});
}

// 新搜索
export function newSearch(params) {
	return httpTokenRequest({
		url: '/api/Index/new_xungetsearch',
		method: 'POST',
		params: params
	});
}

// 获取热门搜索
export function getHotSearch(params) {
	return httpTokenRequest({
		url: '/api/Index/getHotSearch',
		method: 'POST',
		params: params
	});
}